﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblUserName.Visible = false;
        if (Session["318User"] != null)
        {
            UserModel model = Session["318User"] as UserModel;
            lblUserName.Visible = true;
            lblUserName.Text = "尊贵的会员:" + model.UserName;
        }
    }
}
